package com.shiwaixiangcun.customer.module.homeservice

import com.google.gson.annotations.SerializedName


/**
 * 服务类型
 */
data class ToHomeServiceType(
        @SerializedName("serviceTypeDes") val serviceTypeDes: String, //null
        @SerializedName("serviceTypeName") val serviceTypeName: String, //测试子类
        @SerializedName("thumbIcon") val thumbIcon: String,
        @SerializedName("typeId") val typeId: Long //17
)


/**
 * 精选服务
 */
data class SelectionServices(
        @SerializedName("content") val content: List<ServiceData>,
        @SerializedName("first") val first: Boolean, //true
        @SerializedName("last") val last: Boolean, //true
        @SerializedName("number") val number: Int, //0
        @SerializedName("numberOfElements") val numberOfElements: Int, //3
        @SerializedName("size") val size: Int, //10
        @SerializedName("sort") val sort: Any, //null
        @SerializedName("totalElements") val totalElements: Int, //3
        @SerializedName("totalPages") val totalPages: Int //1
)


/**
 * 精选服务列表数据
 */
data class ServiceData(
        @SerializedName("des") val des: String, //<p><img alt="" height="434" src="http://resource.hxteb.com/group1/M00/00/3F/rBKx5VnCQYeANfZwAAE4r4frI-8641.png" width="750" /><img alt="" src="https://img.alicdn.com/imgextra/i1/3075180254/TB2btNCdElnpuFjSZFjXXXTaVXa_!!3075180254.jpg" /><img alt="" src="https://img.alicdn.com/imgextra/i4/3075180254/TB2V9JNdrxmpuFjSZJiXXXauVXa_!!3075180254.jpg" /><img alt="" src="https://img.alicdn.com/imgextra/i4/3075180254/TB26bKPcSBjpuFjSsplXXa5MVXa_!!3075180254.jpg" /><img alt="" src="https://img.alicdn.com/imgextra/i4/3075180254/TB2kTFMdCFmpuFjSZFrXXayOXXa_!!3075180254.jpg" /><img alt="" height="1280" src="https://img.alicdn.com/imgextra/i2/3075180254/TB2eoyRcNXkpuFjy0FiXXbUfFXa_!!3075180254.jpg" width="640" /><img alt="" height="426" src="https://img.alicdn.com/imgextra/i2/3075180254/TB2YJtRdxlmpuFjSZPfXXc9iXXa_!!3075180254.jpg" width="640" /></p>
        @SerializedName("feature") val feature: String, //dfdsf
        @SerializedName("id") val id: Long, //1
        @SerializedName("serviceName") val serviceName: String, //df
        @SerializedName("price") val price: String, //334
        @SerializedName("imagePath") val imagePath: String, //http://resource.shiwaixiangcun.cn/group1/M00/01/91/rBKx51o-Dh2ABh8BAAGxlqf_jyw825_150x150.jpg
        @SerializedName("serviceId") val serviceId: Int,
        @SerializedName("serviceType") val serviceType: String,
        @SerializedName("serviceTypeId") val serviceTypeId: String,
        @SerializedName("status") val status: String,
        @SerializedName("totalAmount") val totalAmount: String
)


/**
 * 精选服务列表
 */
data class ServiceList(
        @SerializedName("elements") val elements: List<ServiceData>,
        @SerializedName("page") val page: Int, //1
        @SerializedName("size") val size: Int, //10
        @SerializedName("totalAmount") val totalAmount: Int, //5
        @SerializedName("totalPages") val totalPages: Int //1
)


data class TypeList(
        @SerializedName("elements") val elements: List<TypeListData>,
        @SerializedName("page") val page: Int, //1
        @SerializedName("size") val size: Int, //10
        @SerializedName("totalAmount") val totalAmount: Int, //1
        @SerializedName("totalPages") val totalPages: Int //1
)

data class TypeListData(
        @SerializedName("feature") val feature: String, //5456454
        @SerializedName("id") val id: Long, //7
        @SerializedName("imagePath") val imagePath: String, //http://resource.shiwaixiangcun.cn/group1/M00/01/9A/rBKx51phjTCAMz3CAANGduydT94417_105x150.jpg
        @SerializedName("price") val price: String, //45
        @SerializedName("serviceName") val serviceName: String, //部分进口环节
        @SerializedName("totalAmount") val totalAmount: Int //0
)

/**
 * 服务详情
 */
data class ServiceDetail(
        @SerializedName("des") val des: String, //<p><img alt="" height="434" src="http://resource.hxteb.com/group1/M00/00/3F/rBKx5VnCQYeANfZwAAE4r4frI-8641.png" width="750" /><img alt="" src="https://img.alicdn.com/imgextra/i1/3075180254/TB2btNCdElnpuFjSZFjXXXTaVXa_!!3075180254.jpg" /><img alt="" src="https://img.alicdn.com/imgextra/i4/3075180254/TB2V9JNdrxmpuFjSZJiXXXauVXa_!!3075180254.jpg" /><img alt="" src="https://img.alicdn.com/imgextra/i4/3075180254/TB26bKPcSBjpuFjSsplXXa5MVXa_!!3075180254.jpg" /><img alt="" src="https://img.alicdn.com/imgextra/i4/3075180254/TB2kTFMdCFmpuFjSZFrXXayOXXa_!!3075180254.jpg" /><img alt="" height="1280" src="https://img.alicdn.com/imgextra/i2/3075180254/TB2eoyRcNXkpuFjy0FiXXbUfFXa_!!3075180254.jpg" width="640" /><img alt="" height="426" src="https://img.alicdn.com/imgextra/i2/3075180254/TB2YJtRdxlmpuFjSZPfXXc9iXXa_!!3075180254.jpg" width="640" /></p>

        @SerializedName("feature") val feature: String, //33333
        @SerializedName("id") val id: Int, //2
        @SerializedName("image") val image: List<Image>,
        @SerializedName("price") val price: Double, //333
        @SerializedName("serviceId") val serviceId: String, //000002
        @SerializedName("serviceName") val serviceName: String, //33333
        @SerializedName("serviceTypeId") val serviceTypeId: Int, //17
        @SerializedName("serviceTypeName") val serviceTypeName: String, //测试子类
        @SerializedName("serviceTypeParentIds") val serviceTypeParentIds: List<String>,
        @SerializedName("status") val status: String, //Up
        @SerializedName("totalAmount") val totalAmount: Int //0
)

data class Image(
        @SerializedName("fileId") val fileId: Int, //26470
        @SerializedName("path") val path: String, //http://resource.shiwaixiangcun.cn/group1/M00/01/91/rBKx51pCG0WAdtXZAAUfqyex9Ec927.jpg
        @SerializedName("thumbImage") val thumbImage: String //http://resource.shiwaixiangcun.cn/group1/M00/01/91/rBKx51pCG0WAdtXZAAUfqyex9Ec927_150x150.jpg
)